home *** CD-ROM | disk | FTP | other *** search
/ Dr. Windows 3 / dr win3.zip / dr win3 / VISUALBA / VB_SMPL.ZIP / FOCUSPRB.EXE / FORM2.FRM < prev    next >
Text File  |  1993-11-16  |  1KB  |  55 lines

  1. VERSION 2.00
  2. Begin Form Form2 
  3.    BorderStyle     =   0  'None
  4.    Caption         =   "Validate"
  5.    ClientHeight    =   1800
  6.    ClientLeft      =   3648
  7.    ClientTop       =   6336
  8.    ClientWidth     =   2772
  9.    Height          =   2268
  10.    Left            =   3576
  11.    LinkTopic       =   "Form2"
  12.    MaxButton       =   0   'False
  13.    MinButton       =   0   'False
  14.    ScaleHeight     =   1800
  15.    ScaleWidth      =   2772
  16.    Top             =   5940
  17.    Width           =   2916
  18.    Begin CommandButton Command2 
  19.       Caption         =   "No"
  20.       Height          =   372
  21.       Left            =   1560
  22.       TabIndex        =   1
  23.       Top             =   1200
  24.       Width           =   852
  25.    End
  26.    Begin CommandButton Command1 
  27.       Caption         =   "Yes"
  28.       Default         =   -1  'True
  29.       Height          =   372
  30.       Left            =   360
  31.       TabIndex        =   0
  32.       Top             =   1200
  33.       Width           =   852
  34.    End
  35.    Begin Label Label1 
  36.       Caption         =   "Label1"
  37.       Height          =   732
  38.       Left            =   240
  39.       TabIndex        =   2
  40.       Top             =   240
  41.       Width           =   2292
  42.    End
  43. End
  44.  
  45. Sub Command1_Click ()
  46.     Unload Form2
  47. End Sub
  48.  
  49. Sub Form_LostFocus ()
  50.     If (Form2.tag = "") Then
  51.         Form2.SetFocus
  52.     End If
  53. End Sub
  54.  
  55.